#ifndef MYEVENTLOOPTHREAD_H
#define MYEVENTLOOPTHREAD_H

#include "base/SimpleThread.h"
#include "MyEventLoop.h"

class MyEventLoopThread:public base::SimpleThread
{
public:
    MyEventLoopThread();

    int Stop();

    void Run();


    MyEventLoop* getLoop()
    {
        return _loop;
    }

private:
     MyEventLoop *_loop;

};

#endif // MYEVENTLOOPTHREAD_H
